﻿@model TMT_CMS.BL.DB.RoleInfo

@using (Html.BeginForm("UserRoleConfirmDelete", "User", FormMethod.Post, new { ID = "deleteRoleForm" }))
{ @Html.ValidationSummary(true)
    <div class="box">
        <!-- Box Head -->
        <div class="box-head">
            <h2>确定要删除此用户组吗？</h2>
        </div>
        <!-- End Box Head -->
        <!-- Form -->
        <div class="table">
            
            @if(Model!=null)
            {
                <table class="tableForForm">
                    <tr>
                        <td align="right">
                            用户组名：
                        </td>
                        <td>
                            @Html.Label(Model.Name)
                            @Html.HiddenFor(m=>m.ID)
                        </td>
                        <td align="right">
                     
                        </td>
                    </tr>
                </table>
            }
            else
            {
                <div class="empty">
                    没有记录</div>
            }

            
        </div>
        <div class="buttons">
            <a href="@Url.Action("UserRoleList", "User")" class="cancel-button"><span>返回列表</span></a>
            <a href="javascript:void()" class="submit-button" onclick="$('#deleteRoleForm').submit();"
                style="margin-left: 10px;"><span>确定删除</span></a>
        </div>
    </div>
    <!-- End Box -->
    <!-- Box -->
    
}
@section SideBar{
    <div class="box">
        <!-- Box Head -->
        <div class="box-head">
            <h2>
                用户权限管理</h2>
        </div>
        <!-- End Box Head-->
        <div class="box-content">
            <a href="@Url.Action("UserRoleList", "User")" class="add-button"><span>用户组管理</span></a>
            <div class="cl">
                &nbsp;</div>
        </div>
    </div>
}
